package com.xqc.provider.mapstruct;

import com.xqc.api.response.UserResponse;
import com.xqc.dao.model.UserModel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserMapStruct {

    UserMapStruct INSTANCE = Mappers.getMapper(UserMapStruct.class);

    List<UserResponse> copyModelToRes(List<UserModel> userModels);
}
